﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity
{
    /// <summary>
    /// 角色表
    /// </summary>
    [Table("RoleInfo")]
    public class RoleInfo
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        [Key]
        public int Rid { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime creationTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? modifier { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? modificationTime { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public bool deleteFlag { get; set; } = false;
    }
}
